package base.thread;

public class TicketDemo {

    public static void main(String[] args) {
        Thread thread1=new Thread(new Ticket());
        Thread thread2=new Thread(new Ticket());
        Thread thread3=new Thread(new Ticket());
        Thread thread4=new Thread(new Ticket());

        thread1.start();
        thread2.start();
        thread3.start();
        thread4.start();


    }


}














